﻿using System.Web.Optimization;

namespace Yz.Web
{
    public class BundleConfig
    {
        // 有关绑定的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            //bundles.Add(new StyleBundle("~/bundles/css").Include(
            //    "",
            //    ""
            //    ));
            bundles.Add(new ScriptBundle("~/bundles/js").Include(
                "~/Scripts/jquery-1.12.4.js",
                "~/Scripts/common/JsExtend.js"
                ));
            bundles.Add(new ScriptBundle("~/bundles/vue").Include(
                "~/Scripts/vue.js",
                "~/Scripts/vee-validate/dist/vee-validate.js",
                "~/Scripts/vee-validate/dist/locale/zh_CN.js",
                "~/Scripts/common/VeeExtend.js"
                ));
            bundles.Add(new ScriptBundle("~/bundles/webuploader").Include(
                "~/Scripts/webuploader/webuploader.js",
                "~/Scripts/common/UpLoadFile.js"));
            bundles.Add(new ScriptBundle("~/bundles/layui").Include(
            "~/Scripts/webuploader/webuploader.js",
            "~/Scripts/common/UpLoadFile.js"));
        }
    }
}